package com.ruoyi.teaching.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收费标准对象 teaching_course_price
 *
 * @author William
 * @date 2022-10-13
 */
public class TeachingCoursePrice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long priceId;


    /**
     * 课程ID
     */
    private Long courseId;

    /**
     * 课时
     */
    @Excel(name = "课时")
    private Integer lessonCount;

    /**
     * 总价
     */
    @Excel(name = "总价")
    private BigDecimal lessonPrice;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 创建人ID
     */
    private Long createId;

    public void setPriceId(Long priceId) {
        this.priceId = priceId;
    }

    public Long getPriceId() {
        return priceId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setLessonCount(Integer lessonCount) {
        this.lessonCount = lessonCount;
    }

    public Integer getLessonCount() {
        return lessonCount;
    }

    public void setLessonPrice(BigDecimal lessonPrice) {
        this.lessonPrice = lessonPrice;
    }

    public BigDecimal getLessonPrice() {
        return lessonPrice;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getCreateId() {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("priceId", getPriceId())
                .append("schoolId", getSchoolId())
                .append("coursId", getCourseId())
                .append("lessonCount", getLessonCount())
                .append("lessonPrice", getLessonPrice())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createId", getCreateId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
